/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package uy.edu.ort.validar.negocio;

import javax.ejb.EJB;
import javax.jws.WebService;
import javax.ejb.Stateless;
import javax.jws.WebMethod;
import javax.jws.WebParam;

/**
 *
 * @author Gonza
 */
@WebService(serviceName = "RecibirNoticiasWS")
@Stateless()
public class RecibirNoticiasWS {
    @EJB
    private ValidarDatosSBLocal ejbRef;// Add business logic below. (Right-click in editor and choose
    // "Insert Code > Add Web Service Operation")

    @WebMethod(operationName = "ValidarDatos")
    public String ValidarDatos(@WebParam(name = "datos") String datos) {
        return ejbRef.ValidarDatos(datos);
    }
    
}
